import React from 'react';
import ReactDOM from 'react-dom/client';
// //引入mock数据
// import './mock/index'
// 全局样式
import '@/common/styles/frame.styl'
// 引入Ant Design中文语言包
import zhCN from 'antd/locale/zh_CN'
// 引入路由配置
import {ConfigProvider} from "antd";
import {RouterProvider} from "react-router-dom";
import {routes} from "../src/router/index";
//引入store
import {store} from "../src/store/index";
import {Provider} from "react-redux";


const root = ReactDOM.createRoot(document.getElementById('root'));
root.render(
    <Provider store={store}>
        <ConfigProvider locale={zhCN}>
            <RouterProvider router={routes}></RouterProvider>
        </ConfigProvider>
    </Provider>
);


